package _995MoBan;

import _995MoBan.sub.Cricket;
import _995MoBan.sub.Football;

/**
 * @Test: 模板模式 测试类
 * @author: ZBoHang
 * @time: 2021/9/17 17:29
 */
class Test {
    public static void main(String[] args) {
        Game game = new Cricket();

        game.play();
        System.out.println("@@@@@@@@@@@@@@@@@@@");
        game = new Football();
        game.play();
    }
}
